<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024/12/24 0024
  Time: 14:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>生产工序设计单</title>
    <link rel="stylesheet"  href="/bootstrap/bootstrap-5.3.3-dist/css/bootstrap.min.css" />
    <link rel="stylesheet" href="/css/ProductDesign/module(1).css" />
    <style type="text/css">

    </style>
</head>
<body style="padding: 15px 50px;background-color: #eeeeee;">
<div class="panel-heading hhead">
    <nav aria-label="breadcrumb">
        <ol class="breadcrumb">
            <span style="color: blue;">您正在做的业务是：</span>
            <li class="breadcrumb-item"><a href="#">生产管理</a></li>
            <li class="breadcrumb-item"><a href="#">产品生产工序设计</a></li>
            <li class="breadcrumb-item active" aria-current="page">产品生产工序设计单审核</li>
        </ol>
    </nav>
</div>
<div style="margin-bottom: 2px">
    <div style="display: inline;margin-left: 66%;">
        <button class="btn btn-primary">审核</button>
    </div>
</div> <!-- 此div改用栅格来做 -->
<div id="designListBox">
    <div style="text-align: center">
        <h3>生产工序设计单</h3>
    </div>
    <div style="padding: 30px">
        <table class="tbl1">
            <tr>
                <td class="col1">设计单编号：</td>
                <td class="col2">aaa</td>
                <td class="col1">设计人：</td>
                <td class="col2">
                    <input type="text" class="txt_under_line">
                </td>
            </tr>
            <tr>
                <td class="col1">产品名称：</td>
                <td colspan="1">小米笔记本</td>
                <td class="col1">产品编号：</td>
                <td colspan="2">
                    aaaaaaaaaaaaaaa
                </td>
            </tr>
        </table>

        <table class="table table-bordered" style="margin: 15px auto;">
            <thead>
            <tr>
                <th>序号</th><th>工序名称</th><th>工序编号</th>
                <th>描述</th><th>工时数</th><th>工时单位</th>
                <th>单位工时成本</th><th></th>
            </tr>
            </thead>
            <tbody id="template">
            <tr>
                <td>1</td>
                <td>aaaaaaaaaaaaaaaaaaaa</td>
                <td>aaaaaaaaaaaaa</td>
                <td>a</td>
                <td class="num"><input class="num-input"></td>
                <td class="num"><input class="num-input"></td>
                <td class="num"><input class="num-input"></td>
                <td><a href="">删除</a></td>
            </tr>
            </tbody>
            <tbody id="realData">
            <tr>
                <td>1</td>
                <td>aaaaaaaaaaaaaaaaaaaa</td>
                <td>aaaaaaaaaaaaa</td>
                <td>a</td>
                <td class="num"><input class="num-input"></td>
                <td class="num"><input class="num-input"></td>
                <td class="num"><input class="num-input"></td>
                <td><a href="">删除</a></td>
            </tr>
            </tbody>
        </table>

        <table class="tbl3">
            <tr>
                <td class="col1" style="width: 15%;">工时总成本：</td>
                <td class="col2">30.00</td>
            </tr>
            <tr>
                <td class="col1">设计要求：</td>
                <td colspan="3" style="padding-top: 5px">
                    <textarea rows="4" cols="100"></textarea>
                </td>
            </tr>
            <tr>
                <td class="col1">变更人：</td>
                <td class="col2"><input type="text" class="txt_under_line"></td>
                <td class="col1">变更时间：</td> <td class="col2" id="time">系统时间</td>
            </tr>
        </table>
    </div>
</div>
<script type="text/javascript" src="/js/jquery-3.7.0.min.js"></script>
<script type="text/javascript" src="/bootstrap/bootstrap-5.3.3-dist/js/bootstrap.bundle.min.js"></script>
<script type="text/javascript">
    $(function (){
        initialProcess();
        // 初始化时间

    })
    function initialProcess(){
        let id = sessionStorage.getItem("id");
        // sessionStorage.clear();

        
    }

</script>
</body>
</html>
